<!-- 当前模块：技术支持 -->
<template>
  <div class="page_technicalSupport">
    <navTitle title="技术支持"/>
    <div class="page_technicalSupport-container">
      <div class="page_technicalSupport-title">运维团队</div>
      <van-cell-group>
        <van-cell title="运维名称" title-width="80" value="中实物业运营团队"></van-cell>
        <van-cell title="运维编号" title-width="80" value="412 641 321 651 234 6513"></van-cell>
        <van-cell title="公司地址" title-width="80" value="武汉市江汉区前进路37号"></van-cell>
        <van-cell title="联系电话" title-width="80" :value="phoneNumber" is-link clickable @click="handleClick"></van-cell>
      </van-cell-group>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      phoneNumber: "15818220066"
    }
  },
  methods: {
    handleClick(e) {
      wx.showModal({
        title: "拨打电话",
        content: `您确认拨打中实物业运营团队- ${this.phoneNumber}`,
        confirmText: "拨打",
        success: res => {
          if(res.confirm) {
            wx.makePhoneCall({
              phoneNumber: this.phoneNumber
            })
          }
        }
      })
    }
  },
  onPullDownRefresh() {
    wx.startPullDownRefresh({
      complete: () => {
        wx.stopPullDownRefresh();
      }
    })
  },
  onShareAppMessage() {
    return {
      title: '智慧养老',
      path: '/pages/auth/main',
      from: "menu" 
    }
  },
}
</script>

<style lang="scss" scoped>
.page_technicalSupport {
  height: 100vh;
  background: #f5f5f5;
  overflow: overlay;
  .page_technicalSupport-container {
    padding: 24rpx;
  }
  .page_technicalSupport-title {
    font-size: 32rpx;
    color: #999;
    margin-bottom: 12rpx;
  }
}
</style>
